<template>
    <div >
        <div class="share-background"></div>
        <el-container style="width:80%;margin:0 auto;">
            <el-aside style="width: 200px;margin-top: 20px;height:500px;">
                <SideMenu></SideMenu>
            </el-aside>
            <el-main style="margin-top:-60px;">
                <Show></Show>
            </el-main>
        </el-container>
    </div>
</template>

<script>
    import SideMenu from './util/SideMenu'
    import Show from './util/Show'
    export default {
        name: 'Index',
        components: {
            SideMenu,
            Show
        },
        data() {
            return {
            }
        },
        created() {
            // this.$store.dispatch('getDishes')
        },
    }
</script>

<style scoped>
    .share-background {
        width: 100%;
        margin: 0 auto;
        background: url("../../assets/share-bj.jpg") no-repeat;
        background-position: center;
        height: 180px;
        background-size: cover;
    }
</style>